<?php
$id = $_GET['id'];
include_once("../includes/config.php");
$retour = mysql_query('SELECT * FROM newsletter_membres WHERE id = '.$id.' LIMIT 1');
$donnees = mysql_fetch_array($retour);
$visites = $donnees['vus'] + 1;
mysql_query('UPDATE newsletter_membres SET vus="'.$visites.'" WHERE ID='.$id.'');
$url = 'http://'.$donnees['pseudo'].'.skyrock.com';	
header("Location: $url");
?>